<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title></title>
    <link rel="stylesheet" href="../../javascript/plug-ins/layui/css/layui.css" media="all" />

    <link rel="stylesheet" href="../../css/style.css" />
    <script src="../../javascript/jquery.js"></script>
    <script type="text/javascript" src="../../javascript/plug-ins/layui/layui.js"></script>
    <script src="js/GoldGift.js?v=1.22"></script>
    <script src="../../js/zyrfunction.js?v=2"></script>
    <script src="../../js/zyrpublic.js?v=1.10"></script>
    <style>
        .layui-table-cell{
            height: auto;
        }
    </style>

</head>
<body>
<div class="layui-fluid">
    <section class="page-hd t">
        <header>
            <h4 class="title">
                <a href="#" class="red">金币兑换礼品</a>
            </h4>
        </header>
        <hr>
    </section>
    <div class="layui-card">
        <div class="layui-card-body table-tool-mini">
            <div class="layui-form toolbar">
                <div class="layui-form-item">
                    <div class="layui-inline">
                        <label class="layui-form-label w-auto">是否启用：</label>
                        <div class="layui-input-inline">
                            <select id="isseinfo" lay-filter="stateSelectDemo" lay-verify="required">
                                <option value="-1" selected="selected">请选择</option>
                                <option value="0">启用</option>
                                <option value="1">禁用</option>
                            </select>
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label w-auto">礼品名称：</label>
                        <div class="layui-input-inline mr0">
                            <input name="username" id="SearchInfo" class="layui-input" type="text" placeholder="请输入礼品名称"/>
                        </div>
                    </div>
                    <div class="layui-inline" style="padding-right: 110px;">
                        <button class="layui-btn icon-btn" lay-filter="formSubSearch" lay-submit>
                            <i class="layui-icon layui-icon-search"></i>搜索
                        </button>
                    </div>
                </div>
            </div>
            <div class="layui-btn-group demoTable">
                <button class="layui-btn" data-type="getAddData"><i class="layui-icon layui-icon-add-1"></i>添加</button>
                <button class="layui-btn" data-type="getCheckData"><i class="layui-icon layui-icon-delete"></i>批量删除</button>
            </div>
            <table class="layui-hide" id="tableInfo" lay-filter="tableInfo"></table>
        </div>
        <script type="text/html" id="enable">
            <!-- 这里的 checked 的状态只是演示 -->
            <input type="checkbox" name="enable" data-id="{{d.id}}" data-info="{{d.enable}}" lay-skin="switch" lay-text="启用|禁用"
                   lay-filter="enableDemo" {{ d.enable==0?"checked":""}} >
        </script>
        <script type="text/html" id="barDemo">
            <a lay-event="edit"><i class="layui-icon layui-icon-edit red"
                                   title="编辑"></i></a>&nbsp;&nbsp;&nbsp;&nbsp;
            <a lay-event="del"><i class="layui-icon layui-icon-delete red" title="删除"></i></a>
        </script>
        <div id="page" class="text-center"></div>
    </div>
</div>
</body>
</html>
